package sf.dao.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TNotice entity. @author MyEclipse Persistence Tools
 */

public class TNotice implements java.io.Serializable {

	// Fields

	private Integer noticeid;
	private String suserid;
	private String stitle;
	private String scontent;
	private Date begindate;
	private Date enddate;
	private Integer nstatus;
	private Integer nisfile;
	private Integer nisread;
	private Date addtime;
	private String updateuser;
	private Date updatetime;
	private Set<TNoticeFile> files = new HashSet<TNoticeFile>();

	// Constructors

	/** default constructor */
	public TNotice() {
	}

	/** full constructor */
	public TNotice(String suserid, String stitle, String scontent,
			Date begindate, Date enddate, Integer nstatus, Integer nisfile,
			Integer nisread, Date addtime, String updateuser, Date updatetime) {
		this.suserid = suserid;
		this.stitle = stitle;
		this.scontent = scontent;
		this.begindate = begindate;
		this.enddate = enddate;
		this.nstatus = nstatus;
		this.nisfile = nisfile;
		this.nisread = nisread;
		this.addtime = addtime;
		this.updateuser = updateuser;
		this.updatetime = updatetime;
	}

	// Property accessors

	public Integer getNoticeid() {
		return this.noticeid;
	}

	public void setNoticeid(Integer noticeid) {
		this.noticeid = noticeid;
	}

	public String getSuserid() {
		return this.suserid;
	}

	public void setSuserid(String suserid) {
		this.suserid = suserid;
	}

	public String getStitle() {
		return this.stitle;
	}

	public void setStitle(String stitle) {
		this.stitle = stitle;
	}

	public String getScontent() {
		return this.scontent;
	}

	public void setScontent(String scontent) {
		this.scontent = scontent;
	}

	public Date getBegindate() {
		return this.begindate;
	}

	public void setBegindate(Date begindate) {
		this.begindate = begindate;
	}

	public Date getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}



	public Integer getNstatus() {
		return nstatus;
	}

	public void setNstatus(Integer nstatus) {
		this.nstatus = nstatus;
	}

	public Integer getNisfile() {
		return nisfile;
	}

	public void setNisfile(Integer nisfile) {
		this.nisfile = nisfile;
	}

	public Integer getNisread() {
		return nisread;
	}

	public void setNisread(Integer nisread) {
		this.nisread = nisread;
	}

	public Date getAddtime() {
		return this.addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public String getUpdateuser() {
		return this.updateuser;
	}

	public void setUpdateuser(String updateuser) {
		this.updateuser = updateuser;
	}

	public Date getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public Set<TNoticeFile> getFiles() {
		return files;
	}

	public void setFiles(Set<TNoticeFile> files) {
		this.files = files;
	}

}